Post

Replies

Boosts

Views

Activity

Comment on NSMenuToolbarItem not showing first menu item when using NSMenuDelegate
The screenshots are from the sample code that I have also posted. The code is just to demonstrate the different behavior, which is unexpected. The first screenshot shows the menu when I add menu items via delegate -> NOK The second screenshot shows the menu when I add the items on toolbar item creation -> OK When I do the adjustments that you suggested, the problem would happen for both toolbar items, because then both menus would be updated in the menuNeedsUpdate method.
Sep ’24
Comment on WeatherKit Historical Data From Swift?
Are the parameters called "startDate" and "endDate"? They aren't documented and specifying these doesn't make a difference for me, the service keeps returning the forecast for the upcoming days. I am using the REST API. When I specify "dailyStart" (e.g. 2022-01-01T00:00:00Z) and "dailyEnd" (e.g. 2022-01-05T00:00:00Z), the service returns an empty "days" array.
Jul ’22